package com.hzqy.persistence.dao.epg;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.epg.AcSignVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class AcSignDao extends PersistenceDao<AcSignVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	/**
	 * 条件查询数量
	 * */
	public Integer selectAcCount(Map map){
        return getSqlSession().selectOne(this.getNamespace()+"selectAcCount",map);
    }

	/**
	* 动态查询信息传递实体为参数
	* */
	public List<AcSignVo> selectAcByRequest(Map map){
       return getSqlSession().selectList(this.getNamespace()+"selectAcByRequest",map);
	}



}
